<include file="Public::header" />
			<div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3>{$title}</h3>
					<div class="clear"></div>
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
                    <div class="tab-content" id="tab2">
					
						<form action="{:U('ad/adAddPost')}" method="post" enctype="multipart/form-data">
							
							<fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
								<p>
                                    <label><span class="c1">*</span>选择广告位置：</label>              
                                    <select name="ad_position" class="small-input">
                                            <volist name="ad_position" id="vo">
                                                <option value="{$key}">{$vo}</option>
                                            </volist>
                                    </select> 
								</p>
                                <p>
                                    <label><span class="c1">*</span>广告类型：</label>
                                     图片<input type="radio" name="ad_type" value="1" checked="checked"/>
                                    <br />
								</p>
                                <p>
                                    <label>标题：</label>
                                        <input type="text" class="text-input large-input" name="ad_title" value=""/>
                                    <br />
								</p>    
                                <p>
                                    <label>链接地址：</label>
                                        <input type="text" class="text-input large-input" name="ad_link" value=""/>
                                    <br />
								</p>                                
                                <p>
                                    <label><span class="c1">*</span>上传图片：</label>
                                    选择图片：<input type="file" name="ad" />
                                </p>
 								<p>
									<input class="button" type="submit" value="提交" />
								</p>
								
							</fieldset>
							
							<div class="clear"></div><!-- End .clear -->
							
						</form>
						
					</div> <!-- End #tab2 --> 					
				</div> <!-- End .content-box-content -->
			</div> <!-- End .content-box -->
<include file="Public::footer" />